using System.Windows.Documents;

namespace com.bodurov.SilverlightControls.XmlCodeEditor.Extensions
{
    public static class Run_Ext
    {
        public static Paragraph GetParagraph(this Run run)
        {
            return run.ElementEnd.GetParagraph();
        }
    }
}